mkdeb: use compression level 0
authorWei Liu <wei.liu2@citrix.com>
Fri, 7 Sep 2018 10:41:31 +0000 (11:41 +0100)
committerWei Liu <wei.liu2@citrix.com>
Fri, 7 Sep 2018 14:06:00 +0000 (15:06 +0100)
commit1d069e45f7c2f6b2982797dd32092b300bacafad
treef56dd06f916f1a9bf0e2588cea0cc7f5931134fc
parent6069dd65d67e846b37aa03c48d22ceaf1afd211a
mkdeb: use compression level 0

This requires calling dpkg-deb directly and pass it -z0.

It reduces the time to run the mkdeb script from 14 seconds to 3
seconds on my workstation with SSD, from 87s to 15s on a machine
with HDD. The deb file grows from 49M to 58M.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/misc/mkdeb